﻿Public Class ObraSocial
    'TODO HACER PROPIEDADES

#Region "Declaraciones"
    Private cId As Integer
    Private cNombre As String
    Private cTelefono As String
    Private cDescripcion As String
    Private cRepresentantes As Generic.List(Of RepresentanteObraSocial)
#End Region

#Region "Constructores"
    Public Sub New()
        cId = -1
        cNombre = ""
        cDescripcion = ""
        cTelefono = ""
    End Sub

    Public Sub New(ByVal pId As Integer, ByVal pNombre As String, ByVal pDescripcion As String, ByVal pTelefono As String, ByRef pRepresentantes As Generic.List(Of RepresentanteObraSocial))
        cId = pId
        cNombre = pNombre
        cDescripcion = pDescripcion
        cTelefono = pTelefono
        cRepresentantes = pRepresentantes
    End Sub
#End Region

#Region "Propiedades"
    Public Property Id()
        Get
            Return cId
        End Get
        Set(ByVal value)
            cId = value
        End Set
    End Property

    Public Property Nombre()
        Get
            Return cNombre
        End Get
        Set(ByVal value)
            cNombre = value
        End Set
    End Property

    Public Property Descripcion()
        Get
            Return cDescripcion
        End Get
        Set(ByVal value)
            cDescripcion = value
        End Set
    End Property

    Public Property Telefono()
        Get
            Return cTelefono
        End Get
        Set(ByVal value)
            cTelefono = value
        End Set
    End Property

    Public Property Representantes()
        Get
            Return cRepresentantes
        End Get
        Set(ByVal value)
            cRepresentantes = value
        End Set
    End Property
#End Region
End Class
